package aooO.crm.Service.impl;

import aooO.crm.Service.DicValueService;
import aooO.crm.mapper.DicValueMapper;
import aooO.crm.pojo.DicValue;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DicValueServiceImpl implements DicValueService {

    @Autowired
    DicValueMapper dicValueMapper;
    @Override
    public List<DicValue> queryDicValueByTypeCode(String typeCode) {
        return dicValueMapper.queryDicValueByTypeCode(typeCode);
    }

    @Override
    public DicValue selectDicValueById(String id) {
        return dicValueMapper.selectDicValueById(id);
    }
}
